﻿using System.ComponentModel;

namespace HelixSoftware.Azure.Data
{
    public class PropertyMetadata<T>
    {
        #region Properties

        private string _Name;
        public string Name
        {
            get { return _Name; }
        }

        private T _DefaultValue;
        public T DefaultValue
        {
            get { return _DefaultValue; }
        }

        #endregion

        #region Constructors

        public PropertyMetadata(string name)
            : this(name, default(T))
        {
        }

        public PropertyMetadata(string name, T defaultValue)
        {
            _Name = name;
            _DefaultValue = defaultValue;
        }

        #endregion
    }
}
